package com.jd.dao;

import com.jd.entity.AddressEntity;

import java.util.List;

public interface AddressDao {
    List<AddressEntity> list(String userId);

    void delById(String id);

    AddressEntity getById(String id);

    void insert(AddressEntity addressEntity);

    void update(AddressEntity addressEntity);
}
